//
//  AppDelegate.swift
//  传智微博
//
//  Created by 董涛 on 2017/5/31.
//  Copyright © 2017年 江汉油田. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
            
        //实例化 window
        window = UIWindow()
        window?.backgroundColor = UIColor.white
        
        //设置根控制器
        window?.rootViewController = WBMainViewController()
        
        //让window可见
        window?.makeKeyAndVisible()
        return true
    }

    
}

